package at.ac.tuwien.infosys.aic11.services;

import javax.jws.WebParam;
import javax.jws.WebService;

import at.ac.tuwien.infosys.aic11.dto.CreditRequest;
import at.ac.tuwien.infosys.aic11.fault.UnknownAddressFault;
import at.ac.tuwien.infosys.aic11.fault.UnknownCustomerFault;
import at.ac.tuwien.infosys.aic11.fault.UnknownDisbursementPreferenceFault;
import at.ac.tuwien.infosys.aic11.fault.UnknownMoneyFault;
import at.ac.tuwien.infosys.aic11.fault.UnknownOfferFault;
import at.ac.tuwien.infosys.aic11.fault.UnknownRequestFault;



@WebService
public interface ShippingService {

	boolean finaliseContract(@WebParam(name="credit_request") CreditRequest cr) throws UnknownRequestFault, UnknownCustomerFault, UnknownDisbursementPreferenceFault, UnknownMoneyFault, UnknownAddressFault, UnknownOfferFault;
	
	void notifyPerMail();
	
	
}
